<div class="panel panel-default panel-intro">
    {:build_heading('recruit/apply/index',true,'笔试和面试信息的录入，可以先筛选ID、姓名、身份证、笔试（或面试）考号、笔试（或面试）考场、笔试（或面试）座号6个字段导出相应表格，完善信息后进行导入操作。')}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh,edit,del,import,import2')}
                        <a href="__CDN__/exam/tpl.xlsx" target='_blank' class="btn btn-primary"><i class="fa fa-cog"></i>下载导入模板</a>
                        <div class="dropdown btn-group {:$auth->check('recruit/apply/multi')?'':'hide'}">
                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> 批量审核</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=agree"> 审核通过</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=disagree">审核不通过</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=reject">驳回修改</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=pay">设为待付款</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=exam_downloading">设为笔试准考证下载</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=interview_downloading">设为面试准考证下载</a></li>
                            </ul>
                        </div>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover" 
                           data-operate-edit="{:$auth->check('recruit/apply/edit')}" 
                           data-operate-del="{:$auth->check('recruit/apply/del')}" 
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
<script id="customformtpl" type="text/html">
    <form action="" class="form-commonsearch">
        <div style="border-radius:2px;padding:0px;">
            <div class="row">
				<div class="col-xs-12 col-sm-6 col-md-3" style="min-height:68px;">
                    <!--这里添加68px是为了避免刷新时出现元素错位闪屏-->
                    <div class="form-group">
                        <label class="control-label col-xs-2 text-right" style='margin-top:8px;'>招聘:</label>
						<div class="control-label col-xs-8">
                        	<input type="hidden" class="operate" data-name="recruit_id" value="="/>
                        	<!--给select一个固定的高度-->
                        	<select id="c-flag" class="form-control selectpicker" name="recruit_id" style="height:31px;">
                            	<option value="">请选择</option>
								{volist name='recruit_list' id='recruit'}
								<option value="{$recruit.recruit_id}">{$recruit.recruit_title}</option>
								{/volist}
                        	</select>
						</div>
                    </div>
                </div>                            
                <div class="col-xs-12 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label col-xs-2 text-right" style='margin-top:8px;'>学校:</label>
						<div class="control-label col-xs-8">
                        	<!--隐式的operate操作符，必须携带一个class为operate隐藏的文本框,且它的data-name="字段",值为操作符-->
                        	<input class="operate" type="hidden" data-name="apply_school" value="like"/>
                        	<input class="form-control" type="text" name="apply_school" placeholder="请输入查找的标题" value=""/>
						</div>
                    </div>
                </div>               
                <div class="col-xs-12 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label col-xs-2 text-right" style='margin-top:8px;'>专业:</label>
						<div class="control-label col-xs-8">
                        	<!--隐式的operate操作符，必须携带一个class为operate隐藏的文本框,且它的data-name="字段",值为操作符-->
                        	<input class="operate" type="hidden" data-name="apply_specialty" value="like"/>
                        	<input class="form-control" type="text" name="apply_specialty" placeholder="请输入查找的标题" value=""/>
						</div>
                    </div>
                </div> 
				<div class="col-xs-12 col-sm-6 col-md-3" style="min-height:68px;">
                    <!--这里添加68px是为了避免刷新时出现元素错位闪屏-->
                    <div class="form-group">
                        <label class="control-label col-xs-2 text-right" style='margin-top:8px;'>学历:</label>
						<div class="control-label col-xs-8">
                        	<input type="hidden" class="operate" data-name="apply_diploma" value="="/>
                        	<!--给select一个固定的高度-->
                        	<select id="c-flag" class="form-control selectpicker" name="apply_diploma" style="height:31px;">
                            	<option value="">请选择</option>
								<option value="专科">专科</option>
								<option value="本科">本科</option>
								<option value="研究生">研究生</option>
                        	</select>
						</div>
                    </div>
                </div>
			</div>
			<div class="row" style="margin-bottom:10px;">              
				<div class="col-xs-12 col-sm-6 col-md-3" style="min-height:68px;">
                    <!--这里添加68px是为了避免刷新时出现元素错位闪屏-->
                    <div class="form-group">
                        <label class="control-label col-xs-2 text-right" style='margin-top:8px;'>学位:</label>
						<div class="control-label col-xs-8">
                        	<input type="hidden" class="operate" data-name="apply_degree" value="="/>
                        	<!--给select一个固定的高度-->
                        	<select id="c-flag" class="form-control selectpicker" name="apply_degree" style="height:31px;">
                            	<option value="">请选择</option>
								<option value="无学位">无学位</option>
								<option value="学士学位">学士学位</option>
								<option value="硕士学位">硕士学位</option>
								<option value="博士学位">博士学位</option>
                        	</select>
						</div>
                    </div>
                </div>
				<div class="col-xs-12 col-sm-6 col-md-3" style="min-height:68px;">
                    <!--这里添加68px是为了避免刷新时出现元素错位闪屏-->
                    <div class="form-group">
                        <label class="control-label col-xs-2 text-right" style='margin-top:8px;'>政治面貌:</label>
						<div class="control-label col-xs-8">
                        	<input type="hidden" class="operate" data-name="apply_identity" value="="/>
                        	<!--给select一个固定的高度-->
                        	<select id="c-flag" class="form-control selectpicker" name="apply_identity" style="height:31px;">
                            	<option value="">请选择</option>
								<option value="中共党员">中共党员</option>
								<option value="中共预备党员">中共预备党员</option>
								<option value="群众">群众</option>
								<option value="其他党派">其他党派</option>
                        	</select>
						</div>
                    </div>
                </div>
				<div class="col-xs-12 col-sm-6 col-md-3" style="min-height:68px;">
                    <!--这里添加68px是为了避免刷新时出现元素错位闪屏-->
                    <div class="form-group">
                        <label class="control-label col-xs-2 text-right" style='margin-top:8px;'>状态:</label>
						<div class="control-label col-xs-8">
                        	<input type="hidden" class="operate" data-name="status" value="="/>
                        	<!--给select一个固定的高度-->
                        	<select id="c-flag" class="form-control selectpicker" name="status" style="height:31px;">
                            	<option value="">选择</option>
                            	<option value="wait">待审核</option>
                            	<option value="Agree">通过</option>
                            	<option value="Disagree">不通过</option>
                            	<option value="Reject">驳回</option>
                            	<option value="Pay">待付款</option>
                            	<option value="Paid">已付款</option>
                            	<option value="Exam_downloading">笔试准考证待下载</option>
                            	<option value="Exam_downloaded">笔试准考证已下载</option>
                            	<option value="Interview_downloading">面试准考证待下载</option>
                            	<option value="Interview_downloaded">面试准考证已下载</option>
                        	</select>
						</div>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label col-xs-2"></label>
                        <div class="row">
                            <div class="col-xs-3">
                                <input type="submit" class="btn btn-success btn-block" value="提交"/>
                            </div>
                            <div class="col-xs-3">
                                <input type="reset" class="btn btn-primary btn-block" value="重置"/>
                            </div>
                        </div>
                    </div>
                </div>
			</div>
            </div>
        </div>
    </form>
</script>